package com.leyou.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter               //get方法
@NoArgsConstructor   //无参构造
@AllArgsConstructor  //有参构造
public enum  ExceptionEnum {//枚举是只具有固定实例个数的类

	PRICE_CANNOT_BE_NULL(400,"价格不能为空！")
	;
	private int code;
	private String msg;
}
